Docs.rs
fence-0.0.2
Platform
i686-apple-darwin
i686-pc-windows-gnu
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-gnu
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
fence 0.0.2
A rate limiter for threaded programs.
Crate
Source
Builds
Feature flags
Documentation
Links
Homepage
Crates.io
Dependencies
Versions
0.0.2
0.0.1
Owners
fence
A simple rate limiter.
Examples
let
mut
f
=
Fence
::
from_secs
(
1
)
;
loop
{
//
Something expensive
f
.
sleep
(
)
;
}